package com.hk.service.product.impl;

import org.springframework.stereotype.Service;

import com.hk.commons.entity.product.Company;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.product.ICompany;


@Service
public class CompanyImpl extends BaseServiceImpl<Company> implements ICompany{
	
	@Override
	public Company findById(Integer id) {
		
		return getById(id);
	}
	
	@Override
	public Company findById(Long id) {
		
		return getById(id);
	}

	@Override
	public Integer add(Company u) {
		return (Integer) super.save(u);
	}

	
}
